import Layout from '@/page/index/'
import Store from '@/store/'
import {defineAsyncComponent} from "vue";

/**
 * 静态路由页
 */
export default [
    {
        path: '/info',
        component: Layout,
        redirect: '/info/index',
        children: [{
            path: 'index',
            name: '个人信息',
            meta: {
                i18n: 'info'
            },
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/admin/user/info.vue')
        }]
    },
    {
        path: '/gc',
        component: Layout,
        children: [
            {
                path: 'db',
                name: '数据源管理',
                component: () => import('@/views/gc/db/datasource.vue'),
                meta: {
                    menu: true,  // 是否加载左菜单
                    isTab: true, // 是否加载tab
                }
            },
        ]
    }
]